package ecmnext.business.event;

/***************************************************************/
/*                     SOFTWARE SECTION                        */
/***************************************************************/
/*
 * <p>Name: ECMNext</p>
 * <p>Description: Simulation of the platform of trading Software</p>
 * <p>Licence: General Public License</p>
 * <p>Organisation: EC Marseille</p>
 * <p>Persons involved in the project : groupe Plateforme de Trading</p>
 * <p>Current version: 1.0</p>
 */

/***************************************************************/
/*                       IMPORT SECTION                        */
/***************************************************************/

import ecmnext.business.*;

/***************************************************************/
/*                DividendEvent CLASS SECTION                  */
/***************************************************************/

/**
 * <p>Title: DividendEvent</p>
 * <p>Description : An event about the paying of Dividends </p>
 * @author Xuewen YANG ET Antoine COUDERC
 * @version 1.0
 */

public class DividendEvent {
  public static final int DIVIDEND_UPDATED = 0;

  private int period;
  private Dividend dividend;
  private int event;

// Constructor
  /**
   * Create an event e.
   * @param value Dividend
   * @param period int
   * @param event int
   */

  public DividendEvent(Dividend value, int period, int event) {
    this.period = period;
    this.event = event;
    this.dividend = value;
  }

  public Dividend getDividend() {
    return this.dividend;
  }

  public int getPeriod() {
    return this.period;
  }

  public int getEvent() {
    return this.event;
  }


}
